package io.api.modules.login.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户封装类
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2024-07-10
 */
@Data
@ApiModel(value = "用户")
public class UserDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "项目角色")
    private Integer userrole;

    @ApiModelProperty(value = "头像")
    private String url;
}